cmake_minimum_required(VERSION 3.0)

project(redis_test)

add_compile_options(-pthread -std=c++17)

# aux_source_directory(${PROJECT_BINARY_DIR}/../src SRC)

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/../bin)

# add_executable(tredis ${SRC})
# add_executable(tredis ${PROJECT_BINARY_DIR}/../src/string.cxx)
# add_executable(tredis ${PROJECT_BINARY_DIR}/../src/list.cpp)
# add_executable(tredis ${PROJECT_BINARY_DIR}/../src/set.cpp)
# add_executable(tredis ${PROJECT_BINARY_DIR}/../src/hash.cpp)
add_executable(tredis ${PROJECT_BINARY_DIR}/../src/zset.cpp)

target_link_libraries(tredis libredis++.so libhiredis.so)